package com.leyou.item.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.leyou.common.dto.PageDTO;
import com.leyou.item.entity.Brand;
import com.leyou.user.dto.BrandDTO;

import java.util.List;

/**
 * @author
 */
public interface BrandService extends IService<Brand> {
        PageDTO<BrandDTO> queryBrandByPage(String key, Integer page, Integer rows);

    void saveBrand(BrandDTO brandDTO);

    List<BrandDTO> queryBrandOfCategory(Long categoryId);

    void updateBrand(BrandDTO brandDTO);
}